package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @program: cloud2020
 * @description:
 * @author: 陈恩涛
 * @create: 2022-02-28 15:20
 **/

@Mapper
public interface PaymentDao {

    int create(Payment payment);

    Payment getPayment(@Param("id") Long id);
}
